package com.car.order.service;

import com.car.order.entity.ShoppingCar;
import com.car.order.entity.form.shoppingCar.ShoppingCarChangeForm;
import com.car.order.form.shoppingCar.ShoppingCarInsertForm;

import java.util.List;

/**
 * @author 杜岷芫
 * @since 2024-09-05 18:59:29
 */

public interface ShoppingCarService{


    List<ShoppingCar> findList(Integer userId) throws Exception;

    ShoppingCar insert(ShoppingCarInsertForm form) throws Exception;

    void delete(Integer userId, Integer goodsId) throws Exception;

    ShoppingCar change(ShoppingCarChangeForm form) throws Exception;

}